ACLOCAL_AMFLAGS = -I ../../../aclocal

# Descend into the @RTEMS_BSP_FAMILY@ directory
SUBDIRS = @RTEMS_BSP_FAMILY@

EXTRA_DIST =

EXTRA_DIST += shared/gnatcommon.c
EXTRA_DIST += shared/include/gnatcommon.h
EXTRA_DIST += shared/start/start.S

# Interrupt
EXTRA_DIST += shared/irq/irq-shared.c

# AMBA Plug&Play bus
EXTRA_DIST += shared/include/ambapp.h
EXTRA_DIST += shared/include/ambapp_ids.h
EXTRA_DIST += shared/include/grlib.h
EXTRA_DIST += shared/amba/ambapp.c
EXTRA_DIST += shared/amba/ambapp_alloc.c
EXTRA_DIST += shared/amba/ambapp_count.c
EXTRA_DIST += shared/amba/ambapp_depth.c
EXTRA_DIST += shared/amba/ambapp_find_by_idx.c
EXTRA_DIST += shared/amba/ambapp_freq.c
EXTRA_DIST += shared/amba/ambapp_parent.c
EXTRA_DIST += shared/amba/ambapp_names.c
EXTRA_DIST += shared/amba/ambapp_old.c
EXTRA_DIST += shared/amba/ambapp_show.c

# PCI bus
EXTRA_DIST += shared/include/pci.h
EXTRA_DIST += shared/pci/pcifinddevice.c

# DEBUG
EXTRA_DIST += shared/include/debug_defs.h

# SpaceWire (GRSPW)
EXTRA_DIST += shared/spw/grspw.c
EXTRA_DIST += shared/spw/grspw_pci.c
EXTRA_DIST += shared/spw/grspw_rasta.c
EXTRA_DIST += shared/include/grspw.h
EXTRA_DIST += shared/include/grspw_pci.h
EXTRA_DIST += shared/include/grspw_rasta.h

# UART  (APBUART)
EXTRA_DIST += shared/uart/apbuart.c
EXTRA_DIST += shared/uart/apbuart_pci.c
EXTRA_DIST += shared/uart/apbuart_rasta.c
EXTRA_DIST += shared/include/apbuart.h
EXTRA_DIST += shared/include/apbuart_pci.h
EXTRA_DIST += shared/include/apbuart_rasta.h

# CAN (OC_CAN, GRCAN)
EXTRA_DIST += shared/can/occan.c
EXTRA_DIST += shared/can/occan_pci.c
EXTRA_DIST += shared/can/grcan.c
EXTRA_DIST += shared/can/grcan_rasta.c
EXTRA_DIST += shared/include/occan.h
EXTRA_DIST += shared/include/occan_pci.h
EXTRA_DIST += shared/include/grcan.h
EXTRA_DIST += shared/include/grcan_rasta.h

# MIL-STD-B1553 (Core1553BRM)
EXTRA_DIST += shared/1553/b1553brm.c
EXTRA_DIST += shared/1553/b1553brm_pci.c
EXTRA_DIST += shared/1553/b1553brm_rasta.c
EXTRA_DIST += shared/include/b1553brm.h
EXTRA_DIST += shared/include/b1553brm_pci.h
EXTRA_DIST += shared/include/b1553brm_rasta.h

# I2C-master (I2CMST)
EXTRA_DIST += shared/i2c/i2cmst.c
EXTRA_DIST += shared/include/i2cmst.h

include $(top_srcdir)/../../../automake/subdirs.am
include $(top_srcdir)/../../../automake/local.am
